package com.twu.biblioteca;

<<<<<<< HEAD
import com.twu.user.UserList;
=======
>>>>>>> 35da6d08a71d87cd8b6d18bacb866f3b865fbf23
import org.hamcrest.Matcher;

import java.io.OutputStream;
import java.io.PrintStream;

/**
 * Created with IntelliJ IDEA.
 * User: root
 * Date: 6/27/13
 * Time: 10:52 PM
 * To change this template use File | Settings | File Templates.
 */
public class BibliotecaShow {
    private static boolean menuDisplayed = false;

    public static void newcustomer(PrintStream outputStream) {
        outputStream.print("Welcome to biblioteca!\n");  //To change body of created methods use File | Settings | File Templates.
    }

    public static void showOptionMenu(PrintStream outputStream) {
<<<<<<< HEAD
        String menu = "[l] login as a member.\n" + "[a] List All Books.\n" + "[r] Reserve a Book.\n" + "[v] View Membership Details.\n" + "[m] Movies.\n" + "[q] Quit.\n";
=======
        String menu = "[a] List All Books.\n" + "[r] Reserve a Book.\n" + "[v] View Membership Details.\n" + "[q] Quit.\n";
>>>>>>> 35da6d08a71d87cd8b6d18bacb866f3b865fbf23
        menuDisplayed = true;
        outputStream.print(menu);  //To change body of created methods use File | Settings | File Templates.
    }

    public static boolean displayOptionMenu() {
        return menuDisplayed;
    }

    public static void showInvalidOption(PrintStream outputStream) {
        String text = "Select a valid option!\n";
        outputStream.print(text);

    }

    public static void goodbye(PrintStream outputStream) {
        outputStream.print("Good Bye!\n");
    }

    public static void showReserveSuccess(PrintStream outputStream) {
        outputStream.print("Thank You! Enjoy the book.\n");  //To change body of created methods use File | Settings | File Templates.
    }

    public static void showReserveFail(PrintStream output) {
        output.print("Sorry we don't have that book yet.\n");//To change body of created methods use File | Settings | File Templates.
    }

    public static void showMembershipDetails(PrintStream output) {
<<<<<<< HEAD
        UserList.showMembershipDetails(output);
        //To change body of created methods use File | Settings | File Templates.
    }

    public static void showNotLogged(PrintStream output) {
        //To change body of created methods use File | Settings | File Templates.
        output.print("Please talk to a Librarian. Thank you.");
=======
        output.print("Please talk to a Librarian. Thank you.");//To change body of created methods use File | Settings | File Templates.
>>>>>>> 35da6d08a71d87cd8b6d18bacb866f3b865fbf23
    }
}
